export class Constants {

    // 用户登录的常量
    static readonly PREFERENCES_STORE = 'PREFERENCES_STORE';
    static readonly LOGIN_USER = 'LOGIN_USER';


    // 路由path
    static readonly PAGE_INDEX = 'pages/Index';
    static readonly PAGE_LOGIN = 'pages/Accout/Login';
    static readonly PAGE_LOGIN_BY_EMAIL = 'pages/Accout/LoginByEmail';
    static readonly PAGE_HOME = 'pages/Home/Home';
    static readonly PAGE_USER_CENTER = "pages/Accout/UserCenter";
    static readonly PAGE_LIST_CHAPTER = "pages/Category/SubjectList";
    static readonly PAGE_QUIZ = "pages/OnlineQuiz/QuizIndex";
    static readonly PAGE_ANSWER = "pages/OnlineQuiz/Answer";

    static readonly PAGE_QUIZ_RESULT = "pages/OnlineQuiz/QuizResult";
    static readonly PAGE_QLIST = "pages/Category/QList";




    // 颜色
    static readonly ERROR_FULL_COLOR = '#f83b43'
    static readonly ERROR_HALF_COLOR = '#fff2f2'
    static readonly RIGHT_FULL_COLOR = '#00cc9f'
    static readonly RIGHT_HALF_COLOR = '#f3fffc'
    static readonly GRAY_FULL_COLOR = '#d9d9d9'
    static readonly GRAY_LIGHT_COLOR = '#fafcff'
    static readonly BLUE_LIGHT_COLOR = '#449ef8'
    static readonly NORMAL_COLOR = '#121826'

    // 用户默认头像云存储url地址数组
    static readonly USER_HEAD_IMG_URLS = [
        'https://agc-storage-drcn.platform.dbankcloud.cn/v0/hmqa-w1yze/other_icon%2Ficon1.png?token=218ddd80-50cc-47b8-a744-258bf0959918',
        'https://agc-storage-drcn.platform.dbankcloud.cn/v0/hmqa-w1yze/other_icon%2Ficon2.png?token=0fe34e52-bd3e-47da-b03b-1437a3a87ebd',
        'https://agc-storage-drcn.platform.dbankcloud.cn/v0/hmqa-w1yze/other_icon%2Ficon3.png?token=3f88815e-e411-4440-a159-1a277ea6e332',
        'https://agc-storage-drcn.platform.dbankcloud.cn/v0/hmqa-w1yze/other_icon%2Ficon4.png?token=2e81ffa3-d89c-4423-982e-ce3bc886c7eb',
        'https://agc-storage-drcn.platform.dbankcloud.cn/v0/hmqa-w1yze/other_icon%2Ficon5.png?token=777f769e-00d6-4418-bec0-77b9407dab57',
        'https://agc-storage-drcn.platform.dbankcloud.cn/v0/hmqa-w1yze/other_icon%2Ficon6.png?token=a7699fa7-793e-4423-b43a-0ca26039e331'
    ]
    // 百分比
    static readonly PERCENT_25 = '25%';
    static readonly PERCENT_50 = '50%';
    static readonly PERCENT_70 = '70%';
    static readonly PERCENT_75 = '75%';
    static readonly PERCENT_90 = '90%';
    static readonly PERCENT_96 = '96%';
    static readonly PERCENT_100 = '100%';

    // 视口
    static readonly VIEWPORT_50 = '50vp';


    static readonly LENGTH_1_PX = 1;
    static readonly LENGTH_2_PX = 2;
    static readonly LENGTH_3_PX = 3;
    static readonly LENGTH_5_PX = 5;
    static readonly LENGTH_6_PX = 6;
    static readonly LENGTH_8_PX = 8;
    static readonly LENGTH_10_PX = 10;
    static readonly LENGTH_15_PX = 15;
    static readonly LENGTH_20_PX = 20;
    static readonly LENGTH_30_PX = 30;
    static readonly LENGTH_40_PX = 40;
    static readonly LENGTH_70_PX = 70;
    static readonly LENGTH_250_PX = 250;
    static readonly LENGTH_100_PX = 100;
    static readonly LENGTH_150_PX = 150;
    static readonly LENGTH_160_PX = 160;
    static readonly LENGTH_180_PX = 180;

    static readonly BORDER_RADIUS_4_PX = 4;

    static readonly HEIGHT_50VP = '50vp';



    static readonly AUTH_ROUTE = 'pages/Auth';
    static readonly FUNCTION_ROUTE = 'pages/CloudFunction';
    static readonly DB_ROUTE = 'pages/CloudDb';
    static readonly STORAGE_ROUTE = 'pages/CloudStorage';

    static readonly DB_INSERT_ROUTE = 'pages/DbInsert';

    static readonly WIDTH_25_P = '25%';
    static readonly WIDTH_50 = '50%';
    static readonly WIDTH_70_P = '70%';
    static readonly WIDTH_75_P = '75%';
    static readonly WIDTH_90 = '90%';
    static readonly FULL_WIDTH = '100%';
    static readonly WIDTH_20 = 20;
    static readonly WIDTH_70 = 70;
    static readonly WIDTH_250 = 250;
    static readonly HEIGHT_100 = 100;
    static readonly HEIGHT_150 = 150;
    static readonly HEIGHT_160 = 160;
    static readonly HEIGHT_180 = 180;
    static readonly HEIGHT_40 = 40;
    static readonly HEIGHT_24 = 24;
    static readonly HEIGHT_90 = '90%';
    static readonly FULL_HEIGHT = '100%';
    static readonly HEIGHT_50 = '50%';
    static readonly MP_5 = 5;
    static readonly MP_10 = 10;
    static readonly MP_15 = 15;
    static readonly MP_20 = 20;
    static readonly MP_30 = 30;
    static readonly BORDER_RADIUS = 4;
    static readonly BORDER_WIDTH = 1;
    static readonly WEIGHT_1 = 1;
    static readonly WEIGHT_2 = 2;
    static readonly WEIGHT_3 = 3;
    static readonly MAX_LENGTH_6 = 6;
    static readonly CHECKBOX_WIDTH = 8;
}